body {
    min-width: 320px;
    max-width: 540px;
    color:#000;
    overflow-x: hidden;
    margin:0 auto;
    line-height: 1.5;
    font-family: Arial,Helvetica;
    background: #EFF2EF;
    -webkit-tap-highlight-color: transparent;
   
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    
}
/*禁用长按页面时的弹出菜单*/
img,
a {
    -webkit-touch-callout: none;
}
li{
    list-style: none;
}
a{
    text-decoration: none;
    color: #222;
}
.search-index{
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    height: 44px;
    min-width: 320px;
    max-width: 540px;
    /* background-color: pink; */
    transform: translateX(-50%);
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.search{
    flex: 1;
    height: 30px;
    border: 1px solid #ccc;
    margin: 7px 10px;
    border-radius: 5px;
    font-size: 12px;
    color: #666;
    box-shadow: 1px 1px rgba(0, 0, 0, .3);
}
.search img{
    vertical-align: middle;
}
.user{
    
    font-size: 12px;
    color: #2eaae0;
    text-align: center;
    width: 44px;
    height: 44px;
    background-color:#fff;
}
.user img{
    margin:2px 1px ;
}
/* .user::before{
    display: block;
    content: "";
    width: 23px;
    height: 23px;
    background:url(../images/sprite.png) no-repeat -54px -194px;
    background-size: 104px aut;
    margin: 5px auto 0;
} */

/* 焦点图样式 */
.focus img{
    width: 100%;
    margin-top: 47px;
}
/* 局部导航栏 */
.local-nav{
    display: flex;
    height: 64px;
    /* background-color: pink; */
    border-radius: 8px;
    margin: 3px 4px;
}
.local-nav li{
    flex: 1;
}
.local-nav a{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}
.local-nav li [class^="local-nav-icon"]{
    width: 32px;
    height: 32px;
    /* background-color: blue; */
    margin-top: 8px;
    background: url(../images/localnav_bg.png) no-repeat;
    background-size: 32px auto;
    
}
.local-nav li .local-nav-icon-icon2{
    background-position: 0 -32px;
}
.local-nav li .local-nav-icon-icon3{
    background-position: 0 -64px;
}
.local-nav li .local-nav-icon-icon4{
    background-position: 0 -96px;
}
.local-nav li .local-nav-icon-icon5{
    background-position: 0 -128px;
}

/* 主导航栏样式 */
nav{
    overflow: hidden;
    border-radius: 8px;
    margin: 0 4px 3px;
}
.nav-common{
    display: flex;
    height: 88px;
    background-color: pink;

}
.nav-common:nth-child(2){
    margin: 3px 0 ;
}
.nav-items{
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* -n+2就是选择前两个元素 */
.nav-items:nth-child(-n+2){
    border-right: 2px solid #fff;
}
.nav-items a {
    flex: 1;
    color: #fff;
    text-align: center;
    line-height: 44px;
    font-size: 14px;
    text-shadow: 1px 1px rgba(0,0,0,.3);
}
.nav-items:nth-child(1) a{
    border: 0;
    background: url(../images/hotel.png) no-repeat  bottom center;
    background-size: 121px auto;
}

.nav-items a:nth-child(1){
    border-bottom: 1px solid #fff;
}
.nav-common:nth-child(1){
    background-image: linear-gradient(to right,#fa5a55,#fa994d);
}
.nav-common:nth-child(2){
    background-image: linear-gradient(to right,#4b90ed,#53bced);
}
.nav-common:nth-child(3){
    background-image: linear-gradient(to right,#34c2a9,#6cd559);
}

/* 侧导航栏样式 */
.subnav-entry{
    display: flex;
    border-radius: 8px;
    /* background-color: pink; */
    margin: 0 4px;
    flex-wrap: wrap;
    padding: 5px 0;
}

.subnav-entry li{
    flex: 20%;
  
}
.subnav-entry a{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    
}
.subnav-entry li [class^="subnav-entry-icon"]{
    width: 28px;
    height: 28px;
    background-color: blue;
    margin-top: 4px;
    background: url(../images/subnav-bg.png) no-repeat;
    background-size: 28px auto;

}
.subnav-entry li [class^="subnav-entry-icon2"]{
    background: url(../images/subnav-bg.png) no-repeat -6px -28px;
}
.subnav-entry li [class^="subnav-entry-icon3"]{
    background: url(../images/subnav-bg.png) no-repeat  -2px -50px;
}
.subnav-entry li [class^="subnav-entry-icon4"]{
    background: url(../images/subnav-bg.png) no-repeat -1px;
}
.subnav-entry li [class^="subnav-entry-icon5"]{
    background: url(../images/subnav-bg.png) no-repeat -1px;
}
.subnav-entry li [class^="subnav-entry-icon6"]{
    background: url(../images/subnav-bg.png) no-repeat -1px;
}
.subnav-entry li [class^="subnav-entry-icon7"]{
    background: url(../images/subnav-bg.png) no-repeat -1px;
}
.subnav-entry li [class^="subnav-entry-icon8"]{
    background: url(../images/subnav-bg.png) no-repeat -1px;
}
.subnav-entry li [class^="subnav-entry-icon9"]{
    background: url(../images/subnav-bg.png) no-repeat -1px;
}
.subnav-entry li [class^="subnav-entry-icon10"]{
    background: url(../images/subnav-bg.png) no-repeat -1px;
}

/* 销售模块样式 */
.sales-box{
    border-top: 1px solid #bbb;
    background-color: #fff;
    margin: 4px;
}
.sales-hd{
    position: relative;
    height: 44px;
    border-bottom: 1px solid #ccc;
}
.sales-hd h2{
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}
.sales-hd h2::after{
    position: absolute;
    top: 8px;
    left: 10px;
    content: "";
    width: 79px;
    height: 15px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 79px auto;
}
.more{
    position: absolute;
    right: 5px;
    top: 8px;
    background: linear-gradient(to right,#ff506c,#ff6bc6);
    border-radius: 15px;
    font-size: 12px;
    padding: 3px 20px 3px 10px ;
    color: #fff;
}
.more::after{
    content: "";
    position: absolute;
    top: 6px;
    right: 9px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #FFF;
    border-right: 2px solid #FFF;
    transform: rotate(45deg);
}

.row{
    display: flex;
}
.row a{
    flex: 1;
    border-bottom: 1px solid #eee;
}
.row a:nth-child(1){
    border-right: 1px solid #eee;
}
.row a img{
    width: 100%;
}